<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>Hello MUI</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<!--标准mui.css-->
		<link rel="stylesheet" href="../mui/css/mui.min.css">
		<!--App自定义的css-->
		<!--<link rel="stylesheet" type="text/css" href="../css/app.css" />-->
	</head>

	<body>

		<style>
			/* 全局默认样式--开始 */
			
			html {
				font-size: 20px;
				box-sizing: border-box;
			}
			
			body {
				line-height: 1;
				margin: 0;
			}
			
			ul {
				padding: 0;
			}
			
			li,
			a {
				list-style: none;
				text-decoration: none;
				color: #333;
			}
			/* 全局默认样式--结束 */
			/* 底部导航栏--开始 */
			
			.mui-bar {
				-webkit-box-shadow: none;
				box-shadow: none;
			}
			
			.mui-icon {
				width: 1.5rem;
			}
			
			.mui-search .mui-placeholder .mui-icon {
				font-size: 0.9rem;
				color: #999;
			}
			
			.mui-search:before {
				margin-top: -10px;
			}
			
			.mui-search.mui-active:before {
				color: #999;
			}
			
			.mui-input-row.mui-search .mui-icon-clear {
				top: 4px;
			}
			
			.mui-active {
				color: #e61874 !important;
			}
			
			.mui-content {
				margin-top: 3.2rem;
				margin-bottom: 3.1rem;
			}
			
			.mui-tab-label {
				padding-bottom: 0.45rem;
			}
			
			.mui-bar-tab .mui-tab-item .mui-icon {
				height: auto;
			}
			
			.mui-bar-tab .mui-tab-item {
				font-size: 0.5rem;
				color: #666;
			}
			/* 底部导航栏--结束 */
			
			.mui-segmented-control.mui-segmented-control-inverted~.mui-slider-progress-bar {
				background-color: #e61874;
			}
			
			.mui-col-xs-4 {
				width: 50%!important;
			}
			/* 头部--开始 */
			
			.mui-segmented-control {
				position: fixed;
				top: 0;
				height: 64px;
				padding-top: 20px;
				padding-right: 0.6rem;
				background: #fff;
				border: none;
				z-index: 100;
			}
			
			.mui-segmented-control .mui-control-item{
				border-left: none;
			}
			
			.mui-segmented-control .mui-control-item.mui-active {
				background-color: transparent;
			}
			
			.mui-segmented-control .mui-control-item.mui-active span {
				position: relative;
				font-size: 0.9rem;
				color: #e61874;
			}
			
			.mui-segmented-control .mui-control-item.mui-active span:after {
				position: absolute;
				content: '';
				width: 80%;
				height: 2px;
				left: 0;
				right: 0;
				bottom: -15px;
				margin: auto;
				background-color: #e61874;
				border-radius: 2px;
			}
			
			.mui-control-item {
				display: flex;
				align-items: center;
				font-size: 0;
			}
			
			.mui-control-item span {
				font-size: 0.7rem;
				color: #999;
			}
			
			.mui-control-item img {
				margin-left: 0.45rem;
			}
			
			/*.mui-control-item.active span {
				position: relative;
				font-size: 0.9rem;
				color: #e61874;
			}
			
			.mui-control-item.active span:after {
				position: absolute;
				content: '';
				width: 80%;
				height: 2px;
				left: 0;
				right: 0;
				bottom: -14px;
				margin: auto;
				background-color: #e61874;
				border-radius: 2px;
			}*/
			/* 头部--结束 */
			/* 当前定位--开始 */
			
			.cur-position {
				display: flex;
				align-items: center;
				justify-content: space-between;
				height: 1.85rem;
				line-height: 1.85rem;
				font-size: 0;
				padding: 0 0.6rem 0 1.2rem;
				background-color: #f0f0f0;
			}
			
			.cur-position .p-left {
				display: flex;
				align-items: center;
			}
			
			.cur-position .p-left span {
				font-size: 0.7rem;
				color: #999;
				padding-left: 0.45rem;
			}
			/* 当前定位--结束 */
			/* 搜索--开始 */
			
			.mui-indexed-list {
				padding: 0.45rem 0.6rem 0;
				background-color: #fff;
			}
			
			.mui-search input[type=search] {
				height: 1.35rem;
				line-height: 1.35rem;
				color: #666;
				margin-bottom: 0;
			}
			
			.mui-search .mui-placeholder {
				height: 1.35rem;
				line-height: 1.35rem;
				font-size: 0.7rem;
				color: #999;
			}
			
			:-webkit-input-placeholder {
				font-size: 0.7rem;
			}
			/* 搜索--结束 */
			/* 发表动态--开始 */
			
			.section {
				padding: 0.75rem 0.6rem 0.6rem;
				margin-bottom: 0.6rem;
				background-color: #fff;
			}
			
			.s-head {
				display: flex;
				align-items: center;
				justify-content: space-between;
				font-size: 0;
			}
			
			.head-left {
				display: flex;
				align-items: center;
			}
			
			.avatar,
			.c-avatar {
				border-radius: 50%;
				vertical-align: middle;
			}
			
			.author {
				font-size: 0.8rem;
				font-weight: bold;
				color: #333;
				padding-left: 0.45rem;
			}
			
			.focus {
				width: 3rem;
				height: 1.2rem;
				line-height: 1.2rem;
				font-size: 0.6rem;
				color: #666;
				text-align: center;
				border: 1px solid #e61874;
				border-radius: 0.6rem;
			}
			
			.s-container {
				display: flex;
				flex-direction: column;
				font-size: 0;
				margin-top: 0.6rem;
			}
			
			.s-container img {
				width: 100%;
				height: 7.2rem;
				border-radius: 0.2rem;
			}
			
			.imgbox img {
				width: 50%;
				padding-right: 0.45rem;
			}
			
			.imgbox img:last-child {
				padding-right: 0;
			}
			
			.mui-grid-view.mui-grid-9 .mui-table-view-cell>a:not(.mui-btn) {
				padding: 0;
			}
			
			.mui-grid-view.mui-grid-9 {
				background-color: #fff;
				border: none;
			}
			
			.mui-grid-view.mui-grid-9 .mui-media {
				background-color: #fff;
			}
			
			.mui-grid-view.mui-grid-9 .mui-table-view-cell {
				padding: 0;
				border: none;
			}
			
			.detail {
				line-height: 1.1rem;
				font-size: 0.8rem;
				color: #666;
				display: -webkit-box;
				overflow: hidden;
				text-overflow: ellipsis;
				-webkit-line-clamp: 4;
				-webkit-box-orient: vertical;
			}
			
			.s-foot {
				display: flex;
				align-items: center;
				justify-content: space-between;
				padding-top: 0.6rem;
			}
			
			.foot-left {
				display: flex;
				align-items: center;
				font-size: 0.6rem;
				color: #ccc;
			}
			
			.f-address {
				padding-left: 0.3rem;
			}
			
			.publish-date {
				font-size: 0.6rem;
				color: #ccc;
			}
			/* 发表动态--结束 */
			/* 互动区--开始 */
			
			.interactive {
				display: flex;
				justify-content: flex-end;
				padding-top: 0.75rem;
			}
			
			.comment,
			.like,
			.share {
				display: flex;
				align-items: center;
				font-size: 0;
			}
			
			.comment,
			.like {
				padding-right: 1.5rem;
			}
			
			.comment img,
			.like img {
				margin-right: 0.3rem;
			}
			
			.comment span,
			.like span {
				font-size: 0.6rem;
				color: #666;
			}
			/* 互动区--结束 */
			/* 点评者--开始 */
			
			.commentator {
				display: flex;
				flex-direction: column;
			}
			
			.c-head {
				display: flex;
				align-items: center;
				justify-content: space-between;
			}
			
			.c-author {
				font-size: 0.6rem;
				color: #41b6c8;
				padding-left: 0.3rem;
			}
			
			.c-like {
				font-size: 0;
				display: flex;
				align-items: center;
			}
			
			.c-like span {
				font-size: 0.5rem;
				color: #999;
			}
			
			.c-content {
				font-size: 0;
				margin-bottom: 0.45rem;
				padding-left: 1.8rem;
			}
			
			.c-content p {
				font-size: 0.8rem;
				color: #333;
				padding: 0.3rem 0 0.75rem;
				margin-bottom: 0;
			}
			
			.c-date {
				font-size: 0.5rem;
				color: #999;
			}
			/* 点评者--结束 */
			/* 回复点评者--开始 */
			
			.reply {
				height: 1.8rem;
				line-height: 1.8rem;
				margin-left: 1.8rem;
				background-color: #f0f0f0;
				border-radius: 0.2rem;
			}
			
			.r-author {
				font-size: 0.7rem;
				color: #41b6c8;
				padding-left: 0.6rem;
			}
			
			.r-content {
				font-size: 0.7rem;
				color: #333;
			}
			/* 回复点评者--结束 */
			
			.mui-control-content {
				background-color: white;
				min-height: 600px;
				height: auto;
			}
			
			.mui-control-content .mui-loading {
				margin-top: 50px;
			}
		</style>
		<div class="mui-content">
			<div>
				<div id="segmentedControl" class="mui-segmented-control">
					<a class="mui-control-item" href="#item1" style="font-size: 0;width: 50%;">
						<span>面对面</span>
						<img width="15" style="vertical-align: sub;" src="../styles/images/community/icon_video_gray.png@2x.png" />
					</a>
					<a class="mui-control-item mui-active" href="#item2" style="width: 44%;">
						<span>一路向西</span>
					</a>
					<span class="add" data-url="./test4.html">
						<img width="18" style="vertical-align: middle;" src="../styles/images/community/icon_add.png@2x.png"/>
					</span>
				</div>
			</div>
			<div>
				<div id="item1" class="mui-control-content">
					<ul class="mui-table-view">
						<li class="mui-table-view-cell">
							第二个选项卡子项-1
						</li>
						<li class="mui-table-view-cell">
							第二个选项卡子项-2
						</li>
						<li class="mui-table-view-cell">
							第二个选项卡子项-3
						</li>
					</ul>
				</div>
				<div id="item2" class="mui-control-content mui-active">
					<!-- 当前定位--开始 -->
					<div class="cur-position">
						<div class="p-left">
							<img width="14" src="../styles/images/community/icon_location.png@2x.png" />
							<span class="">大冲城市花园</span>
						</div>
						<img width="8" src="../styles/images/community/icon_direction.png@2x.png" />
					</div>
					<!-- 当前定位--结束 -->

					<!-- 搜索--开始 -->
					<div id='list' class="mui-indexed-list">
						<div class="mui-indexed-list-search mui-input-row mui-search">
							<input type="search" class="mui-input-clear mui-indexed-list-search-input" placeholder="搜索离我最近的车震点">
						</div>
					</div>
					<!-- 搜索--结束 -->

					<!-- 发表动态--开始 -->
					<div class="section">
						<div class="s-head">
							<div class="head-left">
								<img class="avatar" width="42" src="../styles/images/community/avatar_pix_big.png@2x.png" />
								<span class="author">爱爱姐</span>
							</div>
							<span class="focus">关注</span>
						</div>
						<div class="s-container">
							<img src="../styles/images/community/pix_one.png@2x.png" />
						</div>
						<div class="s-foot">
							<div class="foot-left">
								<img width="14" src="../styles/images/community/icon_direction_gray.png@2x.png" />
								<span class="f-address">秋名山.观景台</span>
							</div>
							<span class="publish-date">2017/02/16</span>
						</div>
						<div class="interactive">
							<div class="comment">
								<img width="25" src="../styles/images/community/icon_comments.png@2x.png" />
								<span>55</span>
							</div>
							<div class="like">
								<img width="25" src="../styles/images/community/icon_like.png@2x.png" />
								<span>55</span>
							</div>
							<div class="share">
								<img width="25" src="../styles/images/community/icon_meau.png@2x.png" />
							</div>
						</div>

						<div class="comment-area">
							<div class="commentator">
								<div class="c-head">
									<div class="head-left">
										<img class="c-avatar" width="30" src="../styles/images/community/avatar_pix_small.png@2x.png" />
										<span class="c-author">爱爱姐</span>
									</div>
									<div class="c-like">
										<img width="25" src="../styles/images/community/icon_like_gray.png@2x.png" />
										<span>5</span>
									</div>
								</div>
								<div class="c-content">
									<p>憋说话，吻我~</p>
									<span class="c-date">2017/02/16</span>
								</div>

								<div class="reply">
									<label class="r-author">爱爱哥</label>
									<span class="r-content">：路过，吻你~</span>
								</div>
							</div>
						</div>
					</div>
					<!-- 发表动态--结束 -->

					<!-- 发表动态--开始 -->
					<div class="section">
						<div class="s-head">
							<div class="head-left">
								<img class="avatar" width="42" src="../styles/images/community/jin.jpg" />
								<span class="author">金城武</span>
							</div>
						</div>
						<div class="s-container">
							<p class="detail"># 情人节话题 # 这里是用户所发的文字描述，这里是用户所发的文字描述</p>
							<div class="imgbox">
								<img src="../styles/images/community/pix_two.png@2x.png" />
								<img src="../styles/images/community/pix_three.png@2x.png" />
							</div>
						</div>
						<div class="s-foot">
							<div class="foot-left">
								<img width="14" src="../styles/images/community/icon_direction_gray.png@2x.png" />
								<span class="f-address">秋名山.观景台</span>
							</div>
							<span class="publish-date">2017/02/16</span>
						</div>
						<div class="interactive">
							<div class="comment">
								<img width="25" src="../styles/images/community/icon_comments.png@2x.png" />
								<span>55</span>
							</div>
							<div class="like">
								<img width="25" src="../styles/images/community/icon_like.png@2x.png" />
								<span>55</span>
							</div>
							<div class="share">
								<img width="25" src="../styles/images/community/icon_meau.png@2x.png" />
							</div>
						</div>

						<div class="comment-area">
							<div class="commentator">
								<div class="c-head">
									<div class="head-left">
										<img class="c-avatar" width="30" src="../styles/images/community/jin.jpg" />
										<span class="c-author">金城武</span>
									</div>
									<div class="c-like">
										<img width="25" src="../styles/images/community/icon_like_gray.png@2x.png" />
										<span>5</span>
									</div>
								</div>
								<div class="c-content">
									<p>憋说话，吻我~</p>
									<span class="c-date">2017/02/16</span>
								</div>

								<div class="reply">
									<label class="r-author">我</label>
									<span class="r-content">：么么哒~</span>
								</div>
							</div>
						</div>
					</div>
					<!-- 发表动态--结束 -->
				</div>
			</div>

			<nav class="mui-bar mui-bar-tab">
				<a id="defaultTab" class="mui-tab-item" data-url="./index.html">
					<img class="mui-icon mui-icon-gear" src="../styles/images/index/nav_home_nor.png@2x.png" />
					<span class="mui-tab-label">首页</span>
				</a>

				<a class="mui-tab-item" data-url="./information.html">
					<img class="mui-icon mui-icon-gear" src="../styles/images/index/nav_information_normal.png@2x.png" />
					<span class="mui-tab-label">资讯</span>
				</a>
				<a class="mui-tab-item mui-active" data-url="./community.html">
					<img class="mui-icon mui-icon-gear" src="../styles/images/index/nav_community_pre.png@2x.png" />
					<span class="mui-tab-label">社区</span>
				</a>
				<a class="mui-tab-item" data-url="./mine.html">
					<img class="mui-icon mui-icon-gear" src="../styles/images/index/nav_mine_normal.png@2x.png" />
					<span class="mui-tab-label">我的</span>
				</a>
			</nav>
			<script src="../mui/js/mui.min.js"></script>
			<script src="../libs/ems.js" data-main='./city.js'></script>
			<script>
				mui.init({
					swipeBack: true //启用右滑关闭功能
				});
				(function($) {
					$('#scroll').scroll({
						indicators: true //是否显示滚动条
					});
				})(mui);
			</script>
	</body>

</html>